<%@page contentType="text/html; charset=ISO-8859-1" %>
<%@page import="java.util.List" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>

<c:import url="/slideshow/default/embed-5-pane.jsp">
	<%-- UnComment this to set the Picasa album name
	<c:param name="albumName">website-homepage</c:param>
	--%>
</c:import>

<div style="clear:both;float:left;height:300px;width:160px;background-color: #a7e294; position:relative;">
<span width="100%"><img src="/images/corner-cutter-top-left.gif" style="float:left"/><img src="/images/corner-cutter-top-right.gif"  style="float:right"/></span>
This is the menu<br/>
<span style="clear:both;position:absolute;width:100%;bottom:0"><img src="/images/corner-cutter-bottom-left.gif" style="float:left"/><img src="/images/corner-cutter-bottom-right.gif"  style="float:right"/></span>
</div>

<div class="subpage_content">
	The page you requested is only available to users with the proper permissions as assigned by the administrator.<br/>
	<br/>
	<c:if test="${!empty sebcms_user}">Although you are logged in, it appears you do not have permission to view the
		page you requested. Use the form below if you would like to re-login using different credentials, or contact
		your administrator if you feel this is an error.<br/>
		<br/>
	</c:if>
	
	<%
	List<String> list = (List<String>)pageContext.findAttribute("errorList");
	if( list != null ){
		out.println("<ul>");
		for( String error: list ){
			out.println( "<li>" + error + "</li>");
		}
		out.println("</ul>");
	}
	%>
	<form action="/security/authenticate" method="POST" id="login_form">
	<!--  <input type="hidden" name="j_uri" value="/members/content.jsp"/>  -->
		<span class="label">username:&nbsp;</span><input type="text" name="j_username" id="username" class="text_field" /><br/>
		<br/>
		<span class="label">password:&nbsp;</span><input type="password" name="j_password" id="j_password" class="password_field" /><br/>
		<br/>
		<input type="submit" value="Login" />
	</form>
	
	<p>Looking to become a Member? Then click <a href="<c:url value='/registration/register'/>">here to register</a>.</p>
	
</div>
